﻿@using Partner.Surround.Fronts
@{
    var currentMenu = (FrontMenuEnum)ViewData["CurrentMenu"];
}

<div class="nav">
    <div class="layui-container">
        <!-- 公司logo -->
        <div class="nav-logo">
            <a href="@Url.Action("Index","Front")">
                <img src="~/images/logo.png" alt="星城科技">
            </a>
        </div>
        <div class="nav-list">
            <button>
                <span></span><span></span><span></span>
            </button>
            <ul class="layui-nav" lay-filter="">
                <li class="layui-nav-item @(currentMenu== FrontMenuEnum.Product?"layui-this":"")"><a href="@Url.Action("Product","Front")">产品</a></li>
                <li class="layui-nav-item @(currentMenu== FrontMenuEnum.News || currentMenu== FrontMenuEnum.NewsDetail?"layui-this":"")"><a href="@Url.Action("News","Front")">动态</a></li>
                <li class="layui-nav-item @(currentMenu== FrontMenuEnum.Case?"layui-this":"")"><a href="@Url.Action("Case","Front")">案例</a></li>
                <li class="layui-nav-item @(currentMenu== FrontMenuEnum.About?"layui-this":"")"><a href="@Url.Action("About","Front")">关于</a></li>
            </ul>
        </div>
    </div>
</div>